package com.xf.system.http.vo.role;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author xiefengf
 */
@Schema(description = "用户详情信息视图")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleDetailVO {

    @Schema(description = "主键id")
    private Long id;

    @Schema(description = "角色名称")
    private String roleName;

    @Schema(description = "角色权限字符串")
    private String roleKey;

    @Schema(description = "显示顺序")
    private Integer roleSort;

    @Schema(description = "角色状态（0正常 1停用）")
    private String status;

    @Schema(description = "帐号状态（0正常 1停用）-显示名称")
    private String statusName;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @Schema(description = "备注")
    private String remark;

}
